package ar.edu.utn.frsf.tpae.a2013.g04.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import ar.edu.utn.frsf.tpae.a2013.g04.persistence.dao.EmpleadoDAO;
import ar.edu.utn.frsf.tpae.a2013.g04.persistence.model.Empleado;
import ar.edu.utn.frsf.tpae.a2013.g04.service.EmpleadoService;

public class EmpleadoServiceImp implements EmpleadoService{
	private EmpleadoDAO empDAO;
	
	@Override
	public List<Empleado> listar() {
			return empDAO.listar();
	}
	
	public EmpleadoDAO getEmpDAO() {
			return empDAO;
	}
	
	@Autowired(required = true)
	public void setEmpDAO(EmpleadoDAO empDAO) {
			this.empDAO = empDAO;
	}

}
